package com.smart.common.entities.enums;

import com.smart.common.annotation.DictEnum;
import com.smart.common.entities.constant.TagColor;
import com.smart.common.entities.core.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;


/**
 * 机构数据授权范围类型
 *
 * @author Administrator
 * @date 2023/04/05
 */
@Getter
@DictEnum(title = "授权范围类型")
@AllArgsConstructor
public enum ScopeType implements BaseEnum {
    /**
     * 数据授权类型
     */
    ALL("所有机构" , TagColor.DARK_RED),
    CUSTOM("指定机构", TagColor.DARK_PURPLE);
    private final String label;
    private final String theme;
}
